home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 November / macformat-030.iso / HTML Software / HTMLedit16 / HTML.edit 1.6 / HTML.edit 1.6.rsrc / TEXT_19356_Named Anchor.txt < prev    next >
Encoding:
Text File  |  1995-05-08  |  1.5 KB  |  26 lines

  1.  
  2. Named Anchor
  3.  
  4. A named anchor is not as common on the Web as the standard HyperText link (or "anchor"), but provides a useful way of jumping to a specific place within a large document, similar to the way this Help text window operates. Each heading within the large document is tagged with Named Anchors, then HyperText links jump to the document and automatically scroll to the specified Named Anchor.
  5.  
  6. To create a named anchor, select the text that is to become the jump-to point, then choose Named Anchor‚Ķ from the Anchor menu and enter the name of the Named Anchor, as in:
  7.  
  8.  <A NAME="edmonton">Edmonton</A> is Alberta's capital and‚Ķ
  9.  
  10. Now to create a link to the named anchor, you include not only the filename, but also the named anchor, separated by a hash mark "#":
  11.  
  12.   In <A HREF="cities.html#edmonton">Edmonton</a> we visited‚Ķ 
  13.  
  14. Now clicking on the word "Edmonton" in the above text would send the reader directly to the word "Edmonton" in the linked document.
  15.  
  16.  
  17. Within the Same Document
  18. To create an anchors to a specific sections within the current document, the technique is exactly the same except that the file name is omitted, as in
  19.  
  20.   In <A HREF="#edmonton">Edmonton</a> we visited‚Ķ
  21.  
  22. Note: The NCSA Mosaic Back button does not work for an anchor within a document because the Back button is designed to move to a previous document.  Move back manually within the document using the scroll bar.
  23.  
  24. Back to Anchor menu, on to HyperText Link, or return to Contents.
  25.  
  26.